using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;

namespace emp.DALFactory
{
   public class NurturingGiftsDAL
    {
       public static emp.IDAL.INurturingGifts Creater()
       {
           
           string path = System.Configuration.ConfigurationSettings.AppSettings["WebDAL"];
           string className = path + ".NurturingGifts";
           // Using the evidence given in the config file load the appropriate assembly and class
           return (emp.IDAL.INurturingGifts)Assembly.Load(path).CreateInstance(className);
       }
    }
}
